﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.RolePopedom
{
    /// <summary>
    /// 权限枚举
    /// </summary>
    [Flags]
    public enum PermissionEnum:ulong
    {
        /// <summary>
        /// 查看权限
        /// </summary>
        [Description("查看")]
        Select=1,
        /// <summary>
        /// 添加权限
        /// </summary>
        [Description("添加")]
        Insert=2,
        /// <summary>
        /// 修改权限
        /// </summary>
        [Description("修改")]
        Update=4,
        /// <summary>
        /// 删除权限
        /// </summary>
        [Description("删除")]
        Delete=8,
        /// <summary>
        /// 审核权限
        /// </summary>
        [Description("审核")]
        Pass=16,
        /// <summary>
        /// 置顶权限
        /// </summary>
        [Description("置顶")]
        Top = 32,
        /// <summary>
        /// 启用权限
        /// </summary>
        [Description("启用")]
        Enabled = 64,
        /// <summary>
        /// 新窗口打开权限
        /// </summary>
        [Description("新窗口打开")]
        NewWindow = 128,
        /// <summary>
        /// 热点权限
        /// </summary>
        [Description("热点")]
        Hot = 256
    }
}
